package com.wzz.exteranlApi;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;


/**
 * 对接连接类
 * @author wqp
 * @since 2022/11/4 14:05
 */
@FeignClient(name = "daydayup", url = "http://localhost:8081")
public interface FileClient {

    @PostMapping("/api/osa/upload")
    ReturnResult<ObjectStorageInfo> uploadFile( @RequestParam("file") MultipartFile file);
}
